WooCommerce\Square\Handlers\Sync S

Total Complexity 48
Dependencies 4
Dependents 1
Total lines 395
Lines of code 142
Logical lines of code 59
Comment lines 158
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
schedule_sync()
S
62 6 10
start_interval_sync()
S
57 4 17
get_job_in_progress()
S
63 5 9
record_sync()
S
59 4 15
start_manual_sync()
S
60 3 14
is_sync_in_progress()
S
74 3 4
set_inventory_last_synced_at()
S
69 3 6
get_next_sync_at()
S
68 3 7
set_last_synced_at()
S
69 3 6
start_manual_deletion()
S
62 2 13
start_product_import()
S
63 2 12
get_inventory_last_synced_at()
S
74 2 4
get_last_synced_at()
S
74 2 4
__construct()
S
72 1 5
is_sync_enabled()
S
81 1 3
add_hooks()
S
75 1 4
unschedule_sync()
S
79 1 3
get_sync_schedule_interval()
S
78 1 3
get_plugin()
S
82 1 3